package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 作品对象 sys_works
 * 
 * @author ruoyi
 * @date 2023-10-30
 */
public class SysWorks extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    List<String> urlList;

    public List<String> getUrlList() {
        return urlList;
    }

    public void setUrlList(List<String> urlList) {
        this.urlList = urlList;
    }

    public String url1;
    public String url2;
    public String url3;
    public String url4;

    public String getUrl1() {
        return url1;
    }

    public void setUrl1(String url1) {
        this.url1 = url1;
    }

    public String getUrl2() {
        return url2;
    }

    public void setUrl2(String url2) {
        this.url2 = url2;
    }

    public String getUrl3() {
        return url3;
    }

    public void setUrl3(String url3) {
        this.url3 = url3;
    }

    public String getUrl4() {
        return url4;
    }

    public void setUrl4(String url4) {
        this.url4 = url4;
    }

    /** 作品主键 */
    private String worksKey;

    /** 作品标题 */
    @Excel(name = "作品标题")
    private String worksTitle;

    /** 作品文案 */
    @Excel(name = "作品文案")
    private String worksCopywriting;

    /** 作品分享次数 */
    @Excel(name = "作品分享次数")
    private String worksShare;

    /** 作品票数 */
    @Excel(name = "作品票数")
    private String worksVote;

    /** 投票主键 */
    @Excel(name = "投票主键")
    private String voteKey;

    /** 照片主键 */
    @Excel(name = "照片主键")
    private String photoKey;

    /** 作者ID */
    @Excel(name = "作者ID")
    private Long worksUserId;

    /** 作者昵称 */
    @Excel(name = "作者昵称")
    private String worksUserName;

    /** 作品发布IP */
    @Excel(name = "作品发布IP")
    private String loginIp;

    /** 省 */
    @Excel(name = "省")
    private String provinces;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区/县 */
    @Excel(name = "区/县")
    private String county;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 审核状态（0:待审核 1:通过 2:驳回） */
    @Excel(name = "审核状态", readConverterExp = "0=:待审核,1=:通过,2=:驳回")
    private String state;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;


    public void setWorksKey(String worksKey) 
    {
        this.worksKey = worksKey;
    }

    public String getWorksKey() 
    {
        return worksKey;
    }
    public void setWorksTitle(String worksTitle) 
    {
        this.worksTitle = worksTitle;
    }

    public String getWorksTitle() 
    {
        return worksTitle;
    }
    public void setWorksCopywriting(String worksCopywriting) 
    {
        this.worksCopywriting = worksCopywriting;
    }

    public String getWorksCopywriting() 
    {
        return worksCopywriting;
    }
    public void setWorksShare(String worksShare) 
    {
        this.worksShare = worksShare;
    }

    public String getWorksShare() 
    {
        return worksShare;
    }
    public void setWorksVote(String worksVote) 
    {
        this.worksVote = worksVote;
    }

    public String getWorksVote() 
    {
        return worksVote;
    }
    public void setVoteKey(String voteKey) 
    {
        this.voteKey = voteKey;
    }

    public String getVoteKey() 
    {
        return voteKey;
    }
    public void setPhotoKey(String photoKey) 
    {
        this.photoKey = photoKey;
    }

    public String getPhotoKey() 
    {
        return photoKey;
    }
    public void setWorksUserId(Long worksUserId) 
    {
        this.worksUserId = worksUserId;
    }

    public Long getWorksUserId() 
    {
        return worksUserId;
    }
    public void setWorksUserName(String worksUserName) 
    {
        this.worksUserName = worksUserName;
    }

    public String getWorksUserName() 
    {
        return worksUserName;
    }
    public void setLoginIp(String loginIp) 
    {
        this.loginIp = loginIp;
    }

    public String getLoginIp() 
    {
        return loginIp;
    }
    public void setProvinces(String provinces) 
    {
        this.provinces = provinces;
    }

    public String getProvinces() 
    {
        return provinces;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setCounty(String county) 
    {
        this.county = county;
    }

    public String getCounty() 
    {
        return county;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("worksKey", getWorksKey())
            .append("worksTitle", getWorksTitle())
            .append("worksCopywriting", getWorksCopywriting())
            .append("worksShare", getWorksShare())
            .append("worksVote", getWorksVote())
            .append("voteKey", getVoteKey())
            .append("photoKey", getPhotoKey())
            .append("worksUserId", getWorksUserId())
            .append("worksUserName", getWorksUserName())
            .append("loginIp", getLoginIp())
            .append("provinces", getProvinces())
            .append("city", getCity())
            .append("county", getCounty())
            .append("address", getAddress())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("state",getState())
            .append("remark", getRemark())
            .toString();
    }
}
